Sort Strings by first letter [C]

Posted by Blackbinary on Stack Overflow See other posts from Stack Overflow or by Blackbinary
Published on 2010-04-01T23:42:22Z Indexed on 2010/04/01 23:53 UTC
Read the original article Hit count: 191

I have a program which places structures in a linked list based on the 'name' they have stored in them.

To find their place in the list, i need to figure out if the name im inserting is earlier or later in the alphabet then those in the structures beside it.

The names are inside the structures, which i have access to. I don't need a full comaparison if that is more work, even just the first letter is fine.

Thanks for the help!

© Stack Overflow or respective owner

Related posts about c

    Related posts about strings